﻿<Window x:Class="ReportWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    SizeToContent="WidthAndHeight" WindowStyle="None" AllowsTransparency="True" Icon="/Horizon.HMS;component/Images/POSIcon.ico"
    xmlns:local="clr-namespace:Horizon.HMS" WindowStartupLocation="CenterScreen" Background="Transparent" >
    <Border Background="White" BorderBrush="Navy" BorderThickness="2" CornerRadius="10">
        <Grid Margin="10" Background="{StaticResource WindowBackground}">
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
            <TextBlock Margin="20,2" FontSize="16" FontWeight="SemiBold" Foreground="{StaticResource TextLabelColor}">
            <Run Text="HMS (" />
            <Run Text="Your management partner..." FontSize="10" FontStyle="Italic"/>
            <Run Text=")" />
            <Run Text=" :: "/>
            <Run Name="ModuleNameRun"/>
        </TextBlock>
        <Button Grid.Column="2" Style="{DynamicResource CloseButtonStyle}" Width="11.195" Content="Button" x:Name="CloseButton" Cursor="Hand" HorizontalAlignment="Right" Margin="0,5.583,7.468,0" VerticalAlignment="Top" Height="12.77"/>
        <Button Grid.Column="2" Style="{DynamicResource MinimizeButtonStyle}" Width="12.402" Content="Button" x:Name="MinimizeButton" Cursor="Hand" HorizontalAlignment="Right" Margin="0,4.733,24.606,0" VerticalAlignment="Top" Height="13.537"/>
            <Path Data="M18,115 L616,115" Fill="#FFF4F4F5" Height="1" Margin="5" Width="800" Stretch="Fill" Stroke="White" Grid.Row="1" Grid.ColumnSpan="2"/>
            <StackPanel Grid.Row="2" Name="MainStack" Margin="10" HorizontalAlignment="Center" Grid.ColumnSpan="2">
                <Grid Name="FilterGrid">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto"/>
                    </Grid.RowDefinitions>
                    <TextBlock Text="Start Date:"/>
                    <DatePicker Grid.Column="1" Name="StartDatePicker" />
                    <TextBlock Text="End Date:" Grid.Column="2"/>
                    <DatePicker Grid.Column="3" Name="EndDatePicker" />
                    <!--<TextBlock Text="Shop Name:" Grid.Row="1"/>
                    <ComboBox Grid.Column="1" Grid.Row="1" Name="ShopNameComboBox" Margin="2" DisplayMemberPath="ShopName" SelectedValuePath="ShopID"/>
                    <TextBlock Text="Item Name:" Grid.Column="2" Grid.Row="1"/>
                    <ComboBox Grid.Column="3" Grid.Row="2" Name="ItemNameComboBox" Margin="2"  DisplayMemberPath="ItemName" SelectedValuePath="ItemID"/>-->
                    <Button Grid.Column="4" Grid.RowSpan="2" Height="25" Content="Preview" Name="PreviewButton"/>
                </Grid>
               <WindowsFormsHost Name="WindowsFormsHost1" Margin="10" MinHeight="200" Width="770">
                    <local:ReportViewerUserControl/>
                </WindowsFormsHost>
            </StackPanel>
          </Grid>
    </Border>
</Window>
